/**
 * Apr 15, 2010
 */
package org.tomale.id.power.customers.inquiry.ui;

import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.ui.part.ViewPart;
import org.tomale.id.power.customers.inquiry.CustomerInquiry;

/**
 * @author ferd
 *
 */
public class CustomerKWHrHistoryView extends ViewPart {

	public static final String VIEW_ID = "org.tomale.id.power.customers.inquiry.customer.kwhrhistory";
	
	private CustomerInquiry _inquiry;
	
	/* (non-Javadoc)
	 * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
	 */
	@Override
	public void createPartControl(Composite parent) {
		GridLayout layout = new GridLayout();
		layout.numColumns = 2;
		parent.setLayout(layout);
		
		Label l;
	}

	/* (non-Javadoc)
	 * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
	 */
	@Override
	public void setFocus() {
		// TODO Auto-generated method stub

	}
	
	public CustomerInquiry getInquiry(){
		if(_inquiry == null){
			_inquiry = CustomerInquiry.getInstance();
		}
		return _inquiry;
	}

}
